Optimal. Leaf size=154 \[ \frac{2 e \sqrt{a+b \sin (c+d x)} (e \cos (c+d x))^{p-1} \left (1-\frac{a+b \sin (c+d x)}{a-b}\right )^{\frac{1-p}{2}} \left (1-\frac{a+b \sin (c+d x)}{a+b}\right )^{\frac{1-p}{2}} F_1\left (\frac{1}{2};\frac{1-p}{2},\frac{1-p}{2};\frac{3}{2};\frac{a+b \sin (c+d x)}{a-b},\frac{a+b \sin (c+d x)}{a+b}\right )}{b d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.116675, antiderivative size = 154, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.08, Rules used = {2704, 138} \[ \frac{2 e \sqrt{a+b \sin (c+d x)} (e \cos (c+d x))^{p-1} \left (1-\frac{a+b \sin (c+d x)}{a-b}\right )^{\frac{1-p}{2}} \left (1-\frac{a+b \sin (c+d x)}{a+b}\right )^{\frac{1-p}{2}} F_1\left (\frac{1}{2};\frac{1-p}{2},\frac{1-p}{2};\frac{3}{2};\frac{a+b \sin (c+d x)}{a-b},\frac{a+b \sin (c+d x)}{a+b}\right )}{b d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2704
Rule 138
Rubi steps
\begin{align*} \int \frac{(e \cos (c+d x))^p}{\sqrt{a+b \sin (c+d x)}} \, dx &=\frac{\left (e (e \cos (c+d x))^{-1+p} \left (1-\frac{a+b \sin (c+d x)}{a-b}\right )^{\frac{1-p}{2}} \left (1-\frac{a+b \sin (c+d x)}{a+b}\right )^{\frac{1-p}{2}}\right ) \operatorname{Subst}\left (\int \frac{\left (-\frac{b}{a-b}-\frac{b x}{a-b}\right )^{\frac{1}{2} (-1+p)} \left (\frac{b}{a+b}-\frac{b x}{a+b}\right )^{\frac{1}{2} (-1+p)}}{\sqrt{a+b x}} \, dx,x,\sin (c+d x)\right )}{d}\\ &=\frac{2 e F_1\left (\frac{1}{2};\frac{1-p}{2},\frac{1-p}{2};\frac{3}{2};\frac{a+b \sin (c+d x)}{a-b},\frac{a+b \sin (c+d x)}{a+b}\right ) (e \cos (c+d x))^{-1+p} \sqrt{a+b \sin (c+d x)} \left (1-\frac{a+b \sin (c+d x)}{a-b}\right )^{\frac{1-p}{2}} \left (1-\frac{a+b \sin (c+d x)}{a+b}\right )^{\frac{1-p}{2}}}{b d}\\ \end{align*}
Mathematica [A] time = 1.09462, size = 185, normalized size = 1.2 \[ \frac{2 e \sqrt{a+b \sin (c+d x)} (e \cos (c+d x))^{p-1} \left (\frac{\sqrt{b^2}-b \sin (c+d x)}{a+\sqrt{b^2}}\right )^{\frac{1-p}{2}} \left (\frac{\sqrt{b^2}+b \sin (c+d x)}{\sqrt{b^2}-a}\right )^{\frac{1-p}{2}} F_1\left (\frac{1}{2};\frac{1-p}{2},\frac{1-p}{2};\frac{3}{2};\frac{a+b \sin (c+d x)}{a-\sqrt{b^2}},\frac{a+b \sin (c+d x)}{a+\sqrt{b^2}}\right )}{b d} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.131, size = 0, normalized size = 0. \begin{align*} \int{ \left ( e\cos \left ( dx+c \right ) \right ) ^{p}{\frac{1}{\sqrt{a+b\sin \left ( dx+c \right ) }}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (e \cos \left (d x + c\right )\right )^{p}}{\sqrt{b \sin \left (d x + c\right ) + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\left (e \cos \left (d x + c\right )\right )^{p}}{\sqrt{b \sin \left (d x + c\right ) + a}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (e \cos{\left (c + d x \right )}\right )^{p}}{\sqrt{a + b \sin{\left (c + d x \right )}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (e \cos \left (d x + c\right )\right )^{p}}{\sqrt{b \sin \left (d x + c\right ) + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]